<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>Test_PRL_05_01_013_AddNewCategoryWithDescriptionOverMaxLength</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Test_PRL_05_01_013_AddNewCategoryWithDescriptionOverMaxLength</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/portal/public/classic/</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Add new category with Description over max length --</td>
	<td></td>
</tr>
<tr>
	<td>windowMaximize</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>root</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='UIPortalLoginFormAction']/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Application Registry</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- Click Add category icon --</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[1]/div/div/div/div/div/div/div/div[2]/div[2]/div[1]/div[1]/div[1]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[1]/div/div/div/div/div/div/div/div[2]/div[2]/div[1]/div[1]/div[1]</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>name</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>name</td>
	<td>Test_PLT_05_01_013</td>
</tr>
<tr>
	<td>type</td>
	<td>displayName</td>
	<td>Test_PLT_05_01_013</td>
</tr>
<tr>
	<td>type</td>
	<td>description</td>
	<td>Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013 Test_PLT_05_01_013</td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Save</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Save</td>
	<td></td>
</tr>
<tr>
	<td>waitForTextPresent</td>
	<td>The length of the text in field &quot;Description: &quot; must be between &quot;0&quot; and &quot;255&quot; characters.</td>
	<td></td>
</tr>
<tr>
	<td>verifyTextPresent</td>
	<td>The length of the text in field &quot;Description: &quot; must be between &quot;0&quot; and &quot;255&quot; characters.</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[3]/div/div[2]/div/div/div/div/div/div[3]/div/table/tbody/tr/td/div/div/div/div/a</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Cancel</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Cancel</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Sign out</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>
